package com.fc.mall.model;

import java.io.Serializable;
import lombok.Data;

@Data
public class UmsMemberBank implements Serializable {
    private Long id;

    /**
     * 会员ID
     *
     * @mbggenerated
     */
    private Long memberId;

    /**
     * 真实姓名
     *
     * @mbggenerated
     */
    private String realName;

    /**
     * 银行卡号
     *
     * @mbggenerated
     */
    private String cardNumber;

    /**
     * 手机号
     *
     * @mbggenerated
     */
    private String phoneNumber;

    /**
     * 银行名称
     *
     * @mbggenerated
     */
    private String bankName;

    /**
     * 身份证号
     *
     * @mbggenerated
     */
    private String idNubmer;

    /**
     * 开户行
     *
     * @mbggenerated
     */
    private String openBank;

    /**
     * 支付宝账号
     *
     * @mbggenerated
     */
    private String alipay;

    /**
     * 微信收款码
     *
     * @mbggenerated
     */
    private String wechatPay;

    private Short payType;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", realName=").append(realName);
        sb.append(", cardNumber=").append(cardNumber);
        sb.append(", phoneNumber=").append(phoneNumber);
        sb.append(", bankName=").append(bankName);
        sb.append(", idNubmer=").append(idNubmer);
        sb.append(", openBank=").append(openBank);
        sb.append(", alipay=").append(alipay);
        sb.append(", wechatPay=").append(wechatPay);
        sb.append(", payType=").append(payType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}